#include <iostream>

using namespace std;

int abs(int x)
{
	return x>=0 ? x : -x;
}

int main()
{
	cout<<"enter a number"<<endl;
	int val;
	cin>>val;
	cout<<"abs: "<<abs(val)<<endl;
	return 0;
}